package com.tbit.uqbike.client.pojo;


/**
 * @Author: chen
 * @Description: 借还车指令相关封装
 * @Date: 创建于 16:35 2020/11/23
 */
public class MqData<T> {

    /**
     * 回调队列名称
     */
    private String feedback;
    /**
     * 消息id
     */
    private Integer msgId;
    /**
     * 消息体
     */
    private T data;

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "MqData{" +
                "feedback='" + feedback + '\'' +
                ", msgId=" + msgId +
                ", data=" + data +
                '}';
    }
}
